﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EasyCore.Authentications.Dtos;

namespace EasyCore.Authentications
{
    public interface IAuthTokenService
    {
        Task<AuthTokenDto> CreateAuthTokenAsync(Dictionary<string, string> claimDic);

        Task<AuthTokenDto> RefreshAuthTokenAsync(AuthTokenDto token);
    }
}
